package com.clear.bridge.abstractor;

// 抽象化类
public abstract class DriverManager {
    // 依赖于抽象接口，而不是具体实现
    protected Driver driver;

    public DriverManager(Driver driver) {
        this.driver = driver;
    }

    public abstract Connection getConnection();
}
